package main

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

// 运行之前先go build下go build ./...
// 再执行go run
func main() {
	r := gin.Default()
	r.Static("/images", "./images")
	r.StaticFS("/static", http.Dir("./static"))
	r.StaticFile("index", "index.html")
	r.Run()
}
